{% extends '../base.html' %}

{% block content %}
<div class="center_div">
{% for game in games %}
    <a href="/game/detail?game_id={{ game.id }}">{{ game.name }}</a>
        <br>
        {% for t in game.tops %}
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ forloop.counter }}.&nbsp;{{ t.create_time|date:'Y-m-d H:i' }} &nbsp;&nbsp;{{ t.user.userprofile.user_position_simple }}<a href="/user/detail?user_id={{ t.user.id }}">{{ t.user.username }}</a> &nbsp;&nbsp;{{ t.score }}分
            <br>
        {% endfor %}
{% endfor %}
</div>
{% endblock %}